<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Send Last-Modified</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.http-send-file.html">http_send_file</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.http-send-status.html">http_send_status</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.http-send-last-modified" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">http_send_last_modified</h1>
  <p class="verinfo">(PECL pecl_http &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">http_send_last_modified</span> &mdash; <span class="dc-title">Send Last-Modified</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.http-send-last-modified-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>http_send_last_modified</strong></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$timestamp</code><span class="initializer"> = time()</span></span>
  ] )</div>

  <p class="para rdfs-comment">
   Send a <em>Last-Modified</em> header with a valid HTTP date.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">此函数应与
<span class="function"><a href="function.http-send-data.html" class="function">http_send_data()</a></span>, <span class="function"><a href="function.http-send-file.html" class="function">http_send_file()</a></span>  和  <span class="function"><a href="function.http-send-stream.html" class="function">http_send_stream()</a></span> 一同使用。</span></p></blockquote>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.http-send-last-modified-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">timestamp</code></em></dt>

     <dd>

      <p class="para">
       a Unix timestamp, converted to a valid HTTP date;
       if omitted, the current time will be sent
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.http-send-last-modified-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>


 


 


 


 <div class="refsect1 seealso" id="refsect1-function.http-send-last-modified-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member">如使用 PHP 5.1.0 及以后版本中为
<a href="class.httpresponse.html" class="link">
<a href="class.httpresponse.html" class="classname">HttpResponse</a></a> 类。</li>
   </ul>
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.http-send-file.html">http_send_file</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.http-send-status.html">http_send_status</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
